Integrand size = 12, antiderivative size = 59 \[ \int x^{2+m} \cosh (a+b x) \, dx=\frac {e^a x^m (-b x)^{-m} \Gamma (3+m,-b x)}{2 b^3}-\frac {e^{-a} x^m (b x)^{-m} \Gamma (3+m,b x)}{2 b^3} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {3388, 2212} \[ \int x^{2+m} \cosh (a+b x) \, dx=\frac {e^a x^m (-b x)^{-m} \Gamma (m+3,-b x)}{2 b^3}-\frac {e^{-a} x^m (b x)^{-m} \Gamma (m+3,b x)}{2 b^3} \]
[In]
[Out]
Rule 2212
Rule 3388
Rubi steps \begin{align*} \text {integral}& = \frac {1}{2} \int e^{-i (i a+i b x)} x^{2+m} \, dx+\frac {1}{2} \int e^{i (i a+i b x)} x^{2+m} \, dx \\ & = \frac {e^a x^m (-b x)^{-m} \Gamma (3+m,-b x)}{2 b^3}-\frac {e^{-a} x^m (b x)^{-m} \Gamma (3+m,b x)}{2 b^3} \\ \end{align*}
Time = 0.02 (sec) , antiderivative size = 54, normalized size of antiderivative = 0.92 \[ \int x^{2+m} \cosh (a+b x) \, dx=\frac {e^{-a} x^m \left (e^{2 a} (-b x)^{-m} \Gamma (3+m,-b x)-(b x)^{-m} \Gamma (3+m,b x)\right )}{2 b^3} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 5 vs. order 4.
Time = 0.09 (sec) , antiderivative size = 73, normalized size of antiderivative = 1.24
method | result | size |
meijerg | \(\frac {x^{3+m} \operatorname {hypergeom}\left (\left [\frac {3}{2}+\frac {m}{2}\right ], \left [\frac {1}{2}, \frac {5}{2}+\frac {m}{2}\right ], \frac {x^{2} b^{2}}{4}\right ) \cosh \left (a \right )}{3+m}+\frac {b \,x^{4+m} \operatorname {hypergeom}\left (\left [2+\frac {m}{2}\right ], \left [\frac {3}{2}, 3+\frac {m}{2}\right ], \frac {x^{2} b^{2}}{4}\right ) \sinh \left (a \right )}{4+m}\) | \(73\) |
[In]
[Out]
none
Time = 0.08 (sec) , antiderivative size = 86, normalized size of antiderivative = 1.46 \[ \int x^{2+m} \cosh (a+b x) \, dx=-\frac {\cosh \left ({\left (m + 2\right )} \log \left (b\right ) + a\right ) \Gamma \left (m + 3, b x\right ) - \cosh \left ({\left (m + 2\right )} \log \left (-b\right ) - a\right ) \Gamma \left (m + 3, -b x\right ) + \Gamma \left (m + 3, -b x\right ) \sinh \left ({\left (m + 2\right )} \log \left (-b\right ) - a\right ) - \Gamma \left (m + 3, b x\right ) \sinh \left ({\left (m + 2\right )} \log \left (b\right ) + a\right )}{2 \, b} \]
[In]
[Out]
Exception generated. \[ \int x^{2+m} \cosh (a+b x) \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
none
Time = 0.08 (sec) , antiderivative size = 55, normalized size of antiderivative = 0.93 \[ \int x^{2+m} \cosh (a+b x) \, dx=-\frac {1}{2} \, \left (b x\right )^{-m - 3} x^{m + 3} e^{\left (-a\right )} \Gamma \left (m + 3, b x\right ) - \frac {1}{2} \, \left (-b x\right )^{-m - 3} x^{m + 3} e^{a} \Gamma \left (m + 3, -b x\right ) \]
[In]
[Out]
\[ \int x^{2+m} \cosh (a+b x) \, dx=\int { x^{m + 2} \cosh \left (b x + a\right ) \,d x } \]
[In]
[Out]
Timed out. \[ \int x^{2+m} \cosh (a+b x) \, dx=\int x^{m+2}\,\mathrm {cosh}\left (a+b\,x\right ) \,d x \]
[In]
[Out]